#include <stdio.h>

int main(void)
{
	int *p[3], x, y, z, i;

	p[0] = &x;
	p[1] = &y;
	p[2] = &z;

	printf("Input 3 integers: ");
	for (i = 0; i < 3; i++)
		scanf("%d", p[i]);

	for (i = 0; i < 3; i++)
		printf("%6d", *p[i]);
	printf("\n");

	return 0;
}